package com.bdqn.springbootstudy.service;

import com.bdqn.springbootstudy.pojo.EbookEntry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EbookEntryService {
    //获取全部图书
    public List<EbookEntry> getAllBook();
    //新增图书
    public int add(EbookEntry ebookEntry);
    //删除图书
    public int del(@Param("id") Integer id);
    //修改
    public int upd(EbookEntry ebookEntry);
}
